package edu.ynu.se.xiecheng.achitectureclass.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author laruui
 * @since 2023-12-07
 */
@TableName("t_shop")
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TShop对象", description = "")
@AllArgsConstructor
@NoArgsConstructor
public class Shop implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键Id")
    @TableId(value = "Id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "商家id")
    private String userId;

    @ApiModelProperty(value = "门店姓名")
    private String name;

    @ApiModelProperty(value = "门店头像")
    private String image;

    @ApiModelProperty(value = "门店描述")
    private String description;


}
